package com.dawn.system.sys.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.dawn.commons.Constants;

public class Menu implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

    private String text;

    private String icon;

    private String color;

    private Constants.mode mode;

    private Integer sorting;

    private Boolean check;

    private Boolean status ;
    
    private Date createTime;

    private Date updateTime;
    
    private List<Resource> resources ;


	public Boolean getStatus() {
		return status;
	}

	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}


	public void setStatus(Boolean status) {
		this.status = status;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public Constants.mode getMode() {
		return mode;
	}

	public void setMode(Constants.mode mode) {
		this.mode = mode;
	}

	public Integer getSorting() {
		return sorting;
	}

	public void setSorting(Integer sorting) {
		this.sorting = sorting;
	}

	public Boolean getCheck() {
		return check;
	}

	public void setCheck(Boolean check) {
		this.check = check;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public List<Resource> getResources() {
		return resources;
	}

	public void setResources(List<Resource> resources) {
		this.resources = resources;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
}